package part1;

import part1.coffee.LongBlack;
import part1.decorator.Chocolate;
import part1.decorator.Milk;

public class Main {
    public static void main(String[] args) {
        // 点一份加两份巧克力，加一份牛奶的美式咖啡
        Drink drink = new Chocolate(new Chocolate(new Milk(new LongBlack())));
        System.out.println("花费=" + drink.cost());
        System.out.println("描述=" + drink.getDescription());
    }
}
